package io.renren.common.dto;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 短信
 */
public class MsgTextDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 短信类型 1：登陆验证码，2：支付验证码，3：账号金额变动
     */
    @ApiModelProperty(value = "短信类型 1：登陆验证码，2：支付验证码，3：账号金额变动")
    @NotNull
    private Integer type;
    /**
     * 短信内容
     */
    @ApiModelProperty(value = "短信内容")
    private String content;
    /**
     * 电话号码
     */
    @ApiModelProperty(value = "电话号码")
    @NotBlank
    private String phone;
    /**
     * 验证码
     */
    //private String code;
    @ApiModelProperty(value = "4位验证码")
    private String code4;

    @ApiModelProperty(value = "6位验证码")
    private String code6;
    /**
     * 账户余额
     */
    @ApiModelProperty(value = "金额")
    private Double money;
    /**
     * 商户
     */
    @ApiModelProperty(value = "商户名")
    private String merchant;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCode4() {
        return code4;
    }

    public void setCode4(String code4) {
        this.code4 = code4;
    }

    public String getCode6() {
        return code6;
    }

    public void setCode6(String code6) {
        this.code6 = code6;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getMerchant() {
        return merchant;
    }

    public void setMerchant(String merchant) {
        this.merchant = merchant;
    }


}
